package com.qf.controller;

import com.qf.pojo.resp.BaseResp;
import com.qf.service.RotationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/rote")
public class RotationController {

    @Autowired
    RotationService rotationService;

    @RequestMapping("/findRotation")
    public BaseResp findAll(){
        BaseResp all = rotationService.findAll();
        return all;
    }

}
